package ysq.xyg.web.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 网站web端
 *
 * @author yu sheng qiang
 * @create 2017-03-22 11:57
 **/
@Controller
public class WebController {
    private static Logger log= LoggerFactory.getLogger(WebController.class);

    /**
     * 首页
     * */
    @RequestMapping(value="/web/pc")
    public ModelAndView index(HttpServletRequest request,HttpServletResponse response){
        ModelAndView modelAndView=new ModelAndView("/web/index");
        return modelAndView;
    }

}
